#define _CRT_SECURE_NO_WARNINGS
#include "Queue.h"
#include "Stack.h"
void test1() {
	ST st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	printf("%d\n", StackSize(&st));

	StackPop(&st);
	StackPop(&st);
	StackPop(&st);
	printf("%d\n", StackSize(&st));
	printf("%d\n", StackEmpty(&st));
	printf("%d\n", StackTop(&st));

	StackDestory(&st);
}
void test2() {
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	QueuePush(&q, 5);
	QueuePop(&q);
	QueuePop(&q);
	QueuePop(&q);
	QueuePop(&q);

	printf("%d\n", QueueFront(&q));
	printf("%d\n", QueueBack(&q));
	printf("%d\n", QueueSize(&q));

	QueueDestroy(&q);
}
int main() {
	test2();
	return 0;
}